package com.ruoyi.documents.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目信息对象 doc_project
 * 
 * @author ruoyi
 * @date 2023-12-18
 */
public class DocProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public static final String Finished = "0";
    public static final String noFinish = "1";

    /** 主键 */
    private Long id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** 是否完工（0未完工，1完工） */
    @Excel(name = "是否完工", readConverterExp = "0=未完工，1完工")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 用户ID */
    private Long userId;

    /** 部门ID */
    private Long deptId;

    /** 项目经理ID */
    private Long xmjlId;

    /** 项目经理名称 */
    @Excel(name = "项目经理名称")
    private String xmjlName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setXmjlId(Long xmjlId) 
    {
        this.xmjlId = xmjlId;
    }

    public Long getXmjlId() 
    {
        return xmjlId;
    }
    public void setXmjlName(String xmjlName) 
    {
        this.xmjlName = xmjlName;
    }

    public String getXmjlName() 
    {
        return xmjlName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("xmjlId", getXmjlId())
            .append("xmjlName", getXmjlName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
